<?php

namespace app\admin\model;
use app\api\model\OrderAction;
use app\api\model\OrderShipLog;
use think\exception\PDOException;
use think\Model;

class CepingLogModel extends Model
{
    protected $name = 'ceping_log';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = true;


    /**
     * 根据搜索条件获取轮播列表信息
     */
    public function getDataByWhere($map, $Nowpage, $limits)
    {
        return $this->alias('p')->field('p.*,think_member.realname,think_member.phone')->join('think_member','p.uid = think_member.id','LEFT')->where($map)->page($Nowpage, $limits)->order('p.create_time desc')->select();
    }




    


}